
<html>
<head>
<style>
body
{

font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
color: #036;

}
</style>


</head>

<body>


<!-- header.css  -->
<div id = "headerwrapper">

	<table id = "headerTable">
		<tr>
			<td>
				<img id = "unoLogo" src="Logo1.jpg" /> 
			</td>
			<td>
				<font size ="16"> Department of Computer Science </font>
			</td>
			<td>
			</td>

			
		</tr>
	</table>


<div id = "bodywrapper">



	<center><b>Graduate Checklist - Thesis option</b></center>
	


<!--courseSelectionForm.css -->


<form action = "thesis.php" method ="post" id = "courseSelectionThesForm">

	<div id = "nameDiv">
		<label>First Name:</label>
		<input type ="text" size = "20" name ="firstname" />
		<label>Last Name:</label>
		<input type ="text" size = "20" name ="lastname" />	
		<label>Student Id:</label>
		<input type ="text" size = "20" name ="studentId" />	
	</div>	




<!-- 4000 level course table -->
<div class = "courseTableWrapper">

<div class ="courseTableCaption"> 4000 level </div>
<div class ="courseTableCaptionNote"> Note: At most 3 5000 level courses count towards the degree requirements.</div>

	<table id = "courseSelectionTable5000">

		<th>Number</th>
		<th>Title</th>
		<th>Semester</th>
		<th>Year</th>
		<th>Grade</th>
		<th>Area</th>

		<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber5k1" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName5k1" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester5k1">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear5k1">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade5k1">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea5k1">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
		<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber5k2" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName5k2" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester5k2">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear5k2">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade5k2">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea5k2">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
		<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber5k3" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName5k3" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester5k3">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear5k3">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade5k3">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea5k3">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				
</table>

</div><!-- end courseTableWrapper div -->




<!-- 6000 level course table-->
<div class = "courseTableWrapper">

<div class = "courseTableCaption">6000 level courses </div>
<div class = "courseTableCaptionNote"> Note: The following 6000-level courses DO NOT count towards the degree requirements: CSCI 6001 &#44; CSCI 6090</div>

<table id = "courseSelectionTable6000">

		<th>Number</th>
		<th>Title</th>
		<th>Semester</th>
		<th>Year</th>
		<th>Grade</th>
		<th>Area</th>
		<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k1" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k1" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k1">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k1">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k1">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k1">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k2" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k2" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k2">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k2">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k2">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k2">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k3" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k3" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k3">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k3">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k3">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k3">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k4" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k4" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k4">
					   <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					 
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k4">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k4">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k4">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
		<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k5" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k5" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k5">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k5">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k5">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k5">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k6" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k6" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k6">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k6">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k6">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k6">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k7" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k7" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k7">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k7">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k7">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k7">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
				<tr>
		 	<td class = "courseNumber"><input type ="text" size = "8" name ="courseNumber6k8" /></td>
			<td class = "courseTitle"><input type ="text" size = "40" name ="courseName6k8" /></td>
			<td class = "courseSemester">  
				<select name = "courseSemester6k8">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear6k8">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
			<td class = "courseGrade">
				<select name = "courseGrade6k8">
					  <option>A</option>
					  <option>B</option>
					  <option>C</option>
				</select>
			</td>
			<td class = "courseArea">
				<select name = "courseArea6k8">
					  <option>1</option>
					  <option>2</option>
					  <option>3</option>
					  <option>4</option>
					  <option>5</option>
					  <option>6</option>
					  <option>7</option>
					  <option>8</option>
					  <option>?</option>
					  <option></option>
				</select>
			</td>
		</tr>
		
		
</table>

</div><!-- end courseTableWrapper div -->


<div class = "courseTableWrapper">

<div class = "courseTableCaption">7000 level thesis hours </div>
<div class = "courseTableCaptionNote">Note: At most 6 hours of Thesis Research count towards the degree requirements</div>

<table id = "courseSelectionTable7000">

	
		
		<th>Semester</th>
		<th>Year</th>
	
		
		<tr>
		 	
			<td class = "courseSemester">  
				<select name = "courseSemester7k1">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear7k1">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
		
			
		</tr>
		<tr>
		 
			<td class = "courseSemester">  
				<select name = "courseSemester7k2">
					  <option>Fall</option>
					  <option>Spring</option>
					  <option>Summer</option>
					  
				</select>
			</td>
			<td class = "courseYear">
				<select name = "courseYear7k2">
					<option>2014</option>
					<option>2013</option>
					<option>2012</option>
					<option>2011</option>
					<option>2010</option>
					<option>2009</option>
					<option>2008</option>
					<option>2007</option>
					<option>2006</option>
					<option>2005</option>
				</select>
			</td>
		
			
		</tr>

</table>


<div id = "thesisInformationDiv">
		<label>Thesis Title:</label>
		<input type ="text" size = "40" name ="thesisTitle" />
		<label>Thesis Advisor:</label>
		<input type ="text" size = "20" name ="thesisAdvisor" />	
</div>

</div> <!-- end courseTableWrapperDiv -->

<br/>
<input type = "submit" id = "formSubmitButton" name ="formSubmitButton" value ="Save"/>


</form>
<!--courseSelectionForm.css end-->

<table id = "courseRulesTable" cellpadding = 0>

	
	<th> Course Requirements must fulfill  </th>

	<th>Areas of concentration</th>


	<tr>

		<td>
		<ul>
		<li><i>background</i> requirement: 5401 & 5501 if not already taken for B.S., for credit;</li><br/>
		<li><i>breadth</i> requirement: three 6000-level courses from three different concentration areas;</li>
		AND
		<li><i>depth</i> requirement: three courses (at least two 6000-level) from one concentration area different from the breadth areas chosen.</li><br/>
		Consult the <a href = "http://cs.uno.edu/academics/courses/classes/courses.php">departmental website</a> for the current list of courses offered and their corresponding areas.<br/>
		</td>

		<td>
		<ol type ="number">
			<li>Theoretical Computer Science and Programming Languages</li><br/>
			<li>Systems and Networks</li><br/>
			<li>Information Assurance</li><br/>
			<li>Software Systems</li><br/>
			<li>Database Systems and Distributed Applications</li><br/>
			<li>Computer Graphics and Visual Computing</li><br/>
			<li>Artificial Intelligence</li><br/>
		</td>


	</tr>

</table>




</div>


<br/>
<br/>
<br/>
<br/>
<br/>
<br/>


</body>


</html>
<?php
mysql_connect("localhost","root","");
mysql_select_db("db4208");
if(isset($_POST['formSubmitButton'])){
 $user_fname=$_POST['firstname'];
 $user_lname=$_POST['lastname'];
 $user_sid=$_POST['studentId'];
 $user_cnumber=$_POST['courseNumber5k1'];
 $user_ctitle = $_POST['courseName5k1'];
 $user_csem = $_POST['courseSemester5k1'];
 $user_cyear = $_POST['courseYear5k1'];
 $user_cgrade = $_POST['courseGrade5k1'];
 $user_carea = $_POST['courseArea5k1'];
 $check_sid="select * from users where user_sid='$Studentid'";
$run=mysql_query($check_email);
if(mysql_num_rows($run)>0){

echo " <script> alert('StudentID $user_sid is already exist in our database please try another one')</script>";
exit();
}
$query=" insert into data (user_fname,user_lname,user_sid,user_cnumber,user_ctitle,user_csem,user_cyear,user_cgrade,user_carea) values ('$user_fname','$user_lname','$user_sid','$user_cnumber','$user_ctitle,$user_csem,$user_cyear,$user_cgrade,$user_carea') ";
if(mysql_query($query)){
echo " <script> alert('Data saved in database')</script>";
}
}
?>

